home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 8 / CD Funhouse Version 8.0 - Wayzata Technology (7013) (1993).iso / pc / mac / __cd_fun / __sports / hyperfoo.00 / card_4180.txt < prev    next >
Text File  |  1990-10-03  |  5KB  |  263 lines

  1. -- card: 4180 from stack: in.00
  2. -- bmap block id: 5302
  3. -- flags: 0000
  4. -- background id: 2687
  5. -- name: Game Over
  6. ----- HyperTalk script -----
  7. on openCard
  8.  
  9.   global name1, name2, score1, score2, t1p, t1r, t2p, t2r, qtr, players
  10.  
  11.   put name1 into card field 1
  12.   put name2 into card field 2
  13.   put score1 into card field 3
  14.   put score2 into card field 4
  15.   put t1r into card field 5
  16.   put t1p into card field 6
  17.   put t2r into card field 7
  18.   put t2p into card field 8
  19.   if (qtr>4) and (players =1) then
  20.     if (score1 > score2) and (name1 = "Macintosh") then
  21.       get the value of card field 9
  22.       put it into wins
  23.       put wins+1 into card field 9
  24.     end if
  25.     if (score1 < score2) and (name1 = "Macintosh") then
  26.       get the value of card field 10
  27.       put it into losses
  28.       put losses+1 into card field 10
  29.     end if
  30.     if (score1 < score2) and (name2 = "Macintosh") then
  31.       get the value of card field 9
  32.       put it into wins
  33.       put wins+1 into card field 9
  34.     end if
  35.     if (score1 > score2) and (name2 = "Macintosh") then
  36.       get the value of card field 10
  37.       put it into losses
  38.       put losses+1 into card field 10
  39.     end if
  40.   end if
  41.  
  42. end openCard
  43.  
  44.  
  45.  
  46.  
  47. -- part 1 (button)
  48. -- low flags: 00
  49. -- high flags: 8004
  50. -- rect: left=384 top=84 right=140 bottom=453
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 13259 / 13259
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: New Game
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   go to card "New Game"
  62. end mouseUp
  63.  
  64.  
  65.  
  66. -- part 2 (button)
  67. -- low flags: 00
  68. -- high flags: 8004
  69. -- rect: left=386 top=207 right=263 bottom=455
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 1011 / 1011
  72. -- text alignment: 1
  73. -- font id: 0
  74. -- text size: 12
  75. -- style flags: 0
  76. -- line height: 16
  77. -- part name: Go Home
  78. ----- HyperTalk script -----
  79. on mouseUp
  80.   go home
  81. end mouseUp
  82.  
  83.  
  84.  
  85. -- part 3 (field)
  86. -- low flags: 00
  87. -- high flags: 0004
  88. -- rect: left=121 top=97 right=117 bottom=208
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 0
  92. -- font id: 0
  93. -- text size: 12
  94. -- style flags: 0
  95. -- line height: 16
  96. -- part name: 
  97.  
  98.  
  99. -- part 4 (field)
  100. -- low flags: 00
  101. -- high flags: 0004
  102. -- rect: left=228 top=97 right=117 bottom=312
  103. -- title width / last selected line: 0
  104. -- icon id / first selected line: 0 / 0
  105. -- text alignment: 0
  106. -- font id: 0
  107. -- text size: 12
  108. -- style flags: 0
  109. -- line height: 16
  110. -- part name: 
  111.  
  112.  
  113. -- part 5 (field)
  114. -- low flags: 00
  115. -- high flags: 0004
  116. -- rect: left=130 top=124 right=144 bottom=158
  117. -- title width / last selected line: 0
  118. -- icon id / first selected line: 0 / 0
  119. -- text alignment: 0
  120. -- font id: 0
  121. -- text size: 12
  122. -- style flags: 0
  123. -- line height: 16
  124. -- part name: 
  125.  
  126.  
  127. -- part 6 (field)
  128. -- low flags: 00
  129. -- high flags: 0004
  130. -- rect: left=234 top=124 right=144 bottom=264
  131. -- title width / last selected line: 0
  132. -- icon id / first selected line: 0 / 0
  133. -- text alignment: 0
  134. -- font id: 0
  135. -- text size: 12
  136. -- style flags: 0
  137. -- line height: 16
  138. -- part name: 
  139.  
  140.  
  141. -- part 9 (field)
  142. -- low flags: 00
  143. -- high flags: 0002
  144. -- rect: left=130 top=145 right=164 bottom=201
  145. -- title width / last selected line: 0
  146. -- icon id / first selected line: 0 / 0
  147. -- text alignment: 0
  148. -- font id: 3
  149. -- text size: 12
  150. -- style flags: 0
  151. -- line height: 16
  152. -- part name: 
  153.  
  154.  
  155. -- part 10 (field)
  156. -- low flags: 00
  157. -- high flags: 0002
  158. -- rect: left=130 top=165 right=184 bottom=201
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 0 / 0
  161. -- text alignment: 0
  162. -- font id: 3
  163. -- text size: 12
  164. -- style flags: 0
  165. -- line height: 16
  166. -- part name: 
  167.  
  168.  
  169. -- part 11 (field)
  170. -- low flags: 00
  171. -- high flags: 0002
  172. -- rect: left=234 top=145 right=164 bottom=305
  173. -- title width / last selected line: 0
  174. -- icon id / first selected line: 0 / 0
  175. -- text alignment: 0
  176. -- font id: 3
  177. -- text size: 12
  178. -- style flags: 0
  179. -- line height: 16
  180. -- part name: 
  181.  
  182.  
  183. -- part 12 (field)
  184. -- low flags: 00
  185. -- high flags: 0002
  186. -- rect: left=234 top=165 right=184 bottom=305
  187. -- title width / last selected line: 0
  188. -- icon id / first selected line: 0 / 0
  189. -- text alignment: 0
  190. -- font id: 3
  191. -- text size: 12
  192. -- style flags: 0
  193. -- line height: 16
  194. -- part name: 
  195.  
  196.  
  197. -- part 16 (field)
  198. -- low flags: 01
  199. -- high flags: 0004
  200. -- rect: left=95 top=296 right=316 bottom=141
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 0
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: 
  209.  
  210.  
  211. -- part 17 (field)
  212. -- low flags: 01
  213. -- high flags: 0004
  214. -- rect: left=217 top=296 right=316 bottom=263
  215. -- title width / last selected line: 0
  216. -- icon id / first selected line: 0 / 0
  217. -- text alignment: 0
  218. -- font id: 0
  219. -- text size: 12
  220. -- style flags: 0
  221. -- line height: 16
  222. -- part name: 
  223.  
  224.  
  225. -- part contents for card part 16
  226. ----- text -----
  227. 20
  228.  
  229. -- part contents for card part 17
  230. ----- text -----
  231. 23
  232.  
  233. -- part contents for card part 5
  234. ----- text -----
  235. 3
  236.  
  237. -- part contents for card part 6
  238. ----- text -----
  239. 14
  240.  
  241. -- part contents for card part 9
  242. ----- text -----
  243. 11
  244.  
  245. -- part contents for card part 10
  246. ----- text -----
  247. 41
  248.  
  249. -- part contents for card part 11
  250. ----- text -----
  251. 0
  252.  
  253. -- part contents for card part 12
  254. ----- text -----
  255. 96
  256.  
  257. -- part contents for card part 3
  258. ----- text -----
  259. Macintosh
  260.  
  261. -- part contents for card part 4
  262. ----- text -----
  263. Don